.tooltip{
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}
.tooltip .tooltiptext{
    visibility: hidden;
    width: 120px;
    background-color: rgb(109, 106, 106);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: -1;
    top: -5px;
    left: 105%;
}
.tooltip:hover .tooltiptext{
    visibility: visible;
}